home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Science⁄Math / Clustal V Folder / general.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-08  |  768 b   |  42 lines  |  [TEXT/MSWD]

  1. /* General purpose header file - rf 12/90 */
  2.  
  3. #ifndef _H_general
  4. #define _H_general
  5.  
  6. /* Macintosh specific */
  7. #ifdef THINK_C
  8.  
  9. #define const                    /* THINK C doesn't know about these identifiers */
  10. #define signed
  11. #define volatile
  12.  
  13. #else /* not Macintoshs */
  14.  
  15. typedef int Boolean;            /* Is already defined in THINK_C */
  16.  
  17. #endif /* ifdef THINK_C */
  18.  
  19. /* definitions for all machines */
  20.  
  21. #undef TRUE                        /* Boolean values; first undef them, just in case */
  22. #undef FALSE
  23. #define TRUE 1
  24. #define FALSE 0
  25.  
  26. #define EOS '\0'                /* End-Of-String */
  27. #define MAXLINE 512            /* Max. line length */
  28.  
  29. #ifdef VAX
  30. #define signed
  31. #endif
  32.  
  33. #ifdef UNIX
  34. #ifdef        SYSTEM_FIVE
  35. #define       RAND_MAX 32767
  36. #else
  37. #define       RAND_MAX 2147483647
  38. #endif
  39. #endif
  40.  
  41. #endif /* ifndef _H_general */
  42.